<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改视频管理信息</title>
 </head>
 <body>
<?php
   $vid = $result['vid'];
   $videoname = $result['videoname'];
   $tid = $result['tid'];
   $pic = $result['pic'];
   $intro = $result['intro'];
   $uploaddate = $result['uploaddate'];
   $uploadadmin = $result['uploadadmin'];
   $hittimes = $result['hittimes'];	
   $downtimes = $result['downtimes'];
   $address = $result['address'];
 ?>

<form method="post"  action="index.php?c=video&m=videoupdate&id=<?php  echo $vid;  ?>"  enctype="multipart/form-data">
<table align="center" border="1" width=500>
<caption>修改视频管理信息</caption>
<tr>
  <td width="20%">vid</td>
  <td width="80%"><?php  echo $vid;  ?>
  <input type="hidden" name="vid" value=<?php  echo $vid;  ?>>  
  </td>
</tr>
<tr>
    <td><label for="videoname">视频名称</label></td>
    <td>
      <input type="text" id="videoname" name="videoname" value="<?php echo $videoname;?>">
    </td>
</tr>
<tr>
    <td><label for="tid">视频类型</label></td>
    <td>
      <input type="text" class="form-control" id="tid" name="tid" value="<?php echo $tid;?>">
    </td>
</tr>
<tr>
    <td><label for="pic">海报</label></td>
    <td>
      <input type="file" id= "pic" name="pic" value="<?php echo $pic;?>">
    </td>
</tr>
<tr>
    <td><label for="intro">内容简介</label></td>
    <td>
      <textarea class="form-control" id="intro" name="intro"> <?php echo $intro;?></textarea>
    </td>
</tr>
<tr>
    <td><label for="uploaddate">添加日期</label></td>
    <td>
      <input type="date" id="uploaddate" name="uploaddate" value="<?php echo $uploaddate;?>">
    </td>
</tr>
<tr>
    <td><label for="uploadadmin">上传用户</label></td>
    <td>
      <input type="text" id="uploadadmin" name="uploadadmin" value="<?php echo $uploadadmin;?>">
    </td>
</tr>
<tr>
    <td><label for="hittimes">点击量</label></td>
    <td>
      <input type="text" id="hittimes" name="hittimes" value="<?php echo $hittimes;?>">
    </td>
</tr>
<tr>
    <td><label for="downtimes">下载量</label></td>
    <td>
      <input type="text" id="downtimes" name="downtimes" value="<?php echo $downtimes;?>">
    </td>
</tr>
<tr>
    <td><label for="address">下载地址</label></td>
    <td>
      <input type="text" id="address" name="address" value="<?php echo $address;?>">
    </td>
</tr>
<tr>
  <td width=150></td>
  <td>
  <input type="submit" value="修改">
  <input type="reset" value="重置">
  </td>
</tr>
</table>
</form>
 </body>

</html>